package GuavaEvent;

import com.google.common.eventbus.EventBus;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2019-10-09 09:08
 */
public class GuavaEventTest {
    public static void main(String[] args) {

        EventBus eventbus = new EventBus();

        GuavaEvent guavaEvent = new GuavaEvent();
        eventbus.register(guavaEvent);
        eventbus.post("Tom");
    }
}
